package org.qinys.mongodb.model;

import java.util.Arrays;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "weiboInfo")
public class WeiboInfo {
	@Id
	private String id;
	private String weiboId;//账号id
	private String nickName;//昵称
	private String sex;//性别
	private String tags;//标签
	private String address;//地址
	private String birthday;//生日
	private String school;//毕业学校
	private String[] followers;//关注者
	private String[] fans;//粉丝
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getWeiboId() {
		return weiboId;
	}
	public void setWeiboId(String weiboId) {
		this.weiboId = weiboId;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getSchool() {
		return school;
	}
	public void setSchool(String school) {
		this.school = school;
	}
	public String[] getFollowers() {
		return followers;
	}
	public void setFollowers(String[] followers) {
		this.followers = followers;
	}
	public String[] getFans() {
		return fans;
	}
	public void setFans(String[] fans) {
		this.fans = fans;
	}
	@Override
	public String toString() {
		return "WeiboInfo [id=" + id + ", weiboId=" + weiboId + ", nickName="
				+ nickName + ", sex=" + sex + ", tags=" + tags + ", address="
				+ address + ", birthday=" + birthday + ", school=" + school
				+ ", followers=" + Arrays.toString(followers) + ", fans="
				+ Arrays.toString(fans) + "]";
	}
	
}
